package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.base.ResponseResult;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description NursingProjectMapper
 * @Author pengtao
 * @Date 2025-05-08  14:14
 */
@Mapper
public interface NursingProjectMapper {

    //增
    void insert(NursingProject nursingProject);


    //分页查询
    Page<NursingProject> selectByPage(String name, Integer status);


    //查询
    NursingProjectVo selectById(Long id);

    //删
    void delete(Long id);

    //改

    void update(NursingProject nursingProject);




    //启动禁用状态

    void updateStatus(NursingProjectVo nursingProjectVo);


    //查询所有
    List<NursingProjectVo> getnursingsProjectVo();



}
